//package com.own.compoent.mq.rabbit.producer.receiver;
//
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * CustomReceiver
// *
// * @author chenxueli
// * @date 2023-07-24 20:25:00
// */
//@Component
//public class CustomReceiver {
//
//    @RabbitListener(queues = "fanout.queue1")
//    public void directReceive2(String message) {
//        System.out.println("fanout.queue1 : " + message);
//    }
//
//    @RabbitListener(queues = "fanout.queue2")
//    public void directReceive3(String message) {
//        System.out.println("fanout.queue2 : " + message);
//    }
//
//}
